SQLSTATE[HY000]: General error: 5 Out of memory (Needed 4194092 bytes)

Posted by Jon Reeks on Stack Overflow See other posts from Stack Overflow or by Jon Reeks
Published on 2010-06-13T08:55:40Z Indexed on 2010/06/13 9:02 UTC
Read the original article Hit count: 524

Filed under:
|

Hi

I'm receiving the following error on my shared hosting box:

SQLSTATE[HY000]: General error: 5 Out of memory (Needed 4194092 bytes)

This error is only triggered on a specific page.

I guess this indicates that I am reaching the upper limit of the 64MB allocated to me in my current MySQL environment.

Does this mean that a single query is going over (returning) 64MB of data? If so, i guess i can just track down and tune that specific query? Or isnt that the correct approach?

Thanks Jon

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql